//
//  NSArrayTests.h
//  iOS Sample Code
//
//  Created by lei yu on 11-12-8.
//  Copyright (c) 2011年 lancet. All rights reserved.
//

//  Logic unit tests contain unit test code that is designed to be linked into an independent test executable.
//  See Also: http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_applications.html

#import <SenTestingKit/SenTestingKit.h>



@interface AddressCard : NSObject {
    NSString *name_;
    NSString *email_;
}

@property(nonatomic,retain) NSString *name;
@property(nonatomic,retain) NSString *email;



-(void)setName:(NSString *)name andEmail:(NSString *) email;

@end



@interface AddressBook:NSObject{
    NSString *name_;
    NSMutableArray *array_;
}


-(AddressCard *) lookup: (NSString *) theName;
-(NSMutableArray *) lookupAll: (NSString *) theName;
-(id)initWithName:(NSString *)name;

-(void)addCard:(AddressCard *)card;

-(void)sort;
-(NSInteger)list;

@end



@interface NSArrayTests : SenTestCase




@end
